package com.wuyou.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.wuyou.entity.House;
import com.wuyou.domain.vo.HouseVO;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author cxy
 * @since 2022-09-29
 */
public interface HouseMapper extends BaseMapper<House> {

    int insertAndGetId(House house);

    void auditHouse(@Param("ids") Long[] houseIds, @Param("audit") int auditStatus);

    List<HouseVO> findHouseInfoList(HouseVO houseVO);
}
